import React, {Component,PropTypes} from 'react';

class Button extends Component {
    render() {
        return (
            <button className={this.props.class} onClick={this.props.onClick}>
                {this.props.children}
            </button>
        );
    }
}


Button.PropTypes = {
    children: PropTypes.string,
    class: PropTypes.string,
    onClick: PropTypes.func
}

export default Button;
